Home } Calculators } Prime Number



Enter a number and JavaScript can instantly tell you if it is a prime number or not. I wish I had this little gem to help me in my math classes years ago!

Prime Number Calculator

Please enter a number:

JavaScript Source Code 2002: Calculator: Prime Number

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!